Behavior inspector

Use the Behavior inspector to attach behaviors to objects and to modify parameters of previously attached behaviors. Behaviors are listed alphabetically by event. If there are several actions for the same event, the actions appear in the order in which they will execute.

The selected tag appears at the top of the inspector.

To open the Behavior inspector, choose Window > Behaviors or click the Behaviors button in the Launcher. See also Behaviors overview.

Actions (+) Displays a list of actions that can occur. Choosing an action causes a parameters dialog box to appear.

Delete (-) Removes a chosen action and associated event from the list in the Behavior inspector.

Events For Specifies the browsers in which the current behavior should work. The selection you make from this menu determines which events appear in the Events pop-up menu.

Up and down arrow buttons Move the selected action up or down in the behavior list. Actions are executed in the specified order.

Events Displays all the events that can trigger the action. Different events appear depending on the object selected. If the expected events don't appear, make sure the correct object is selected. Use the tag selector at the bottom left of the Document window to select a tag.

Note: The Events pop-up menu appears only after you have selected an action.

Different browsers recognize different events for various objects. Choose the browsers in which you want the behavior to work from the Events For pop-up menu. Only the events recognized by the selected browsers appear on the Events pop-up menu.